﻿//-----------------------------------------------------------------------
// <summary>
//  A module in Prism is a logical unit in your application.
// </summary>
// <copyright file="NewsFeedEventArgs.cs" company="DSSoftLogic">
//     Copyright@ DSSoftLogic 2011, Non-Commercial. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Property.Silverlight.Model
{
    using System;

    /// <summary>
    /// This NewsArticle is testing the StyleCop rules and how to use them.
    /// </summary>
    public class NewsFeedEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="NewsFeedEventArgs"/> class.
        /// </summary>
        /// <param name="tickerSymbol">
        /// The ticker symbol.
        /// </param>
        /// <param name="newsHeadline">
        /// The news headline.
        /// </param>
        public NewsFeedEventArgs(string tickerSymbol, string newsHeadline)
        {
            this.TickerSymbol = tickerSymbol;
            this.NewsHeadline = newsHeadline;
        }

        /// <summary>
        /// Gets or sets TickerSymbol
        /// </summary>
        public string TickerSymbol { get; set; }

        /// <summary>
        /// Gets or sets NewsHeadline
        /// </summary>
        public string NewsHeadline { get; set; }
    }
}
